﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Universum.Infrastructure.Security
{
	/// <summary>
	/// Implementations of this service will ofer informations related
	/// to the role of the current logged in user
	/// </summary>
	public interface IRoleService
	{
		/// <summary>
		/// Verfies that the user 
		/// is in the specified role
		/// </summary>
		/// <param name="roleName"></param>
		/// <returns></returns>
		bool IsInRole(string roleName);
	}
}
